package com.quanyan.place.mapper;

import com.quanyan.place.entity.TbAcPermission;
import com.quanyan.place.entity.TbAcPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbAcPermissionMapper {
    int countByExample(TbAcPermissionExample example);

    int deleteByExample(TbAcPermissionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbAcPermission record);

    int insertSelective(TbAcPermission record);

    List<TbAcPermission> selectByExample(TbAcPermissionExample example);

    TbAcPermission selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbAcPermission record, @Param("example") TbAcPermissionExample example);

    int updateByExample(@Param("record") TbAcPermission record, @Param("example") TbAcPermissionExample example);

    int updateByPrimaryKeySelective(TbAcPermission record);

    int updateByPrimaryKey(TbAcPermission record);
    
    void batchInsert(List<TbAcPermission> list);
    
}